* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
  color: #333;
  user-select: none;
}

header {
  width: 100%;
  height: 60px;
}

header .top-box {
  width: 980px;
  height: 60px;
  margin: 15px auto 0;
  justify-content: space-between;
  display: flex;
  align-items: center;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  width: 137px;
  height: 37px;
}

header .logo p {
  border-left: 1px solid #c9c9c9;
  margin-left: 10px;
  padding-left: 10px;
  box-sizing: border-box;
  color: #777;
  font-size: 20px;
}

#phone {
  height: 42px;
  box-sizing: border-box;
}

#smsCode {
  height: 42px;
  box-sizing: border-box;
}

.line {
  width: 1200px;
  margin: 0 auto 0;
  height: 20px;
  background-image: url("https://rcode.zongheng.com/v2017/images/pass/reg_hr.png");
  background-position: center;
}

header nav {
  display: flex;
  align-items: center;
}

header nav p {
  color: #666;
  font-size: 12px;
}

header nav a {
  width: 62px;
  text-align: center;
  height: 35px;
  line-height: 35px;
  color: #666;
  text-decoration: none;
  margin-left: 10px;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
}

header nav a:hover {
  background-color: #bf1e2e;
  color: white;
  border-color: #bf1e2e;
}

main {
  width: 400px;
  height: 400px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.progress-step {
  display: flex;
  align-items: center;
  position: relative;
}

.progress-step:not(:last-child)::after {
  position: absolute;
  left: 62px;
  bottom: 30px;
  content: "";
  height: 2px;
  background-color: #ccc;
  width: 90px;
  margin-left: 8px;
}

.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  line-height: 60px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 22px;
}

.circle.active {
  background-color: #df3d3d;
}

.circle.inactive {
  background-color: #ccc;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 14px;
  margin-bottom: 6px;
  margin-top: 12px;
}

input[type="text"],
input[type="tel"],
input[type="checkbox"] {
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
}

input[type="text"]:focus,
input[type="tel"]:focus {
  border-color: #bf1e2e;
}

.note {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.send-code-container {
  display: flex;
  margin-top: 6px;
  align-items: center;
}

.send-code-container input {
  flex-grow: 1;
  margin-right: 8px;
}

button.send-code {
  background-color: #bf1e2e;
  border: none;
  color: white;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}

button.send-code:disabled {
  background-color: #ccc;
  cursor: default;
}

button.next-step {
  margin-top: 32px;
  padding: 12px 0;
  background-color: #bf1e2e;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

button.next-step:disabled {
  background-color: #ccc;
  cursor: default;
}

.agreement {
  margin-top: 16px;
  font-size: 12px;
  display: flex;
  align-items: center;
  color: #666;
}

.agreement label {
  margin: 0;
}

.agreement input[type="checkbox"] {
  margin-right: 6px;
}

.agreement span {
  color: #bf1e2e;
  text-decoration: none;
  cursor: pointer;
}
